﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/jui.Master" Inherits="System.Web.Mvc.ViewPage<Dictionary<string, object>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    修改
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="layout" class="noNavTab">
        <div id="navTab">
            <div class="pageContent">
                <%  
                    int id = Utils.StrToInt(ViewData["id"], 0);
                    using (Html.BeginForm("Edit", "OperateTotal", new { dtnum = (int)Database.Web, id = id, name = DencryptHelper.Encrypt("Set_400Phones"), url = "/Sys/ListPhones" }, FormMethod.Post, new { @class = "pageForm required-validate", onsubmit = "return validateCallback(this,navTabAjaxDone)" }))
                    { %>
                <div class="pageFormContent nowrap" style="overflow: auto;">
                    <dl>
                        <dt>编号：</dt>
                        <dd>
                            <input class="textInput required" type="text" name="t0_SourceCode" value='<%=Model["sourcecode"] %>' /></dd>
                    </dl>
                    <dl>
                        <dt>名称：</dt>
                        <dd>
                            <input class="textInput required" type="text" name="t0_Descriptions" value='<%=Model["descriptions"] %>' /></dd>
                    </dl>
                    <dl>
                        <dt>号码：</dt>
                        <dd>
                            <input class="textInput required" type="text" name="t0_PhoneNo" value='<%=Model["phoneno"] %>' />
                        </dd>
                    </dl>
                    <dl>
                        <dt>中继号码：</dt>
                        <dd>
                            <input class="textInput required" type="text" name="t0_EnterNo" value='<%=Model["enterno"] %>' />
                        </dd>
                    </dl>
                    <dl>
                        <dt>&nbsp</dt>
                        <dd>
                            <button type="submit">
                                修改</button></dd>
                    </dl>
                </div>
                <%} %>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../../content/jui-normal.css" rel="stylesheet" type="text/css" />
</asp:Content>
